package com.ysstech.reportworld.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 报表世界表校验规则
 * </p>
 *
 * @author lishuangliang
 * @since 2023-01-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("report_world_table_standard_check")
public class TableStandardCheck extends Model<TableStandardCheck> {

    private static final long serialVersionUID = 1L;

    @TableId("ID")
    private String id;

    /**
     * 表名前缀
     */
    @TableField("TABLE_NAME_PREFIX")
    private String tableNamePrefix;

    /**
     * 表名后缀
     */
    @TableField("TABLE_NAME_SUFFIX")
    private String tableNameSuffix;

    /**
     * 表名包含
     */
    @TableField("TABLE_NAME_CONTAIN")
    private String tableNameContain;

    /**
     * 检查的CODE
     */
    @TableField("CHECK_CODE")
    private String checkCode;

    /**
     * 检查CODE对应的值
     */
    @TableField("CHECK_VALUE")
    private String checkValue;


    @TableField("STATUS")
    private Integer status;

    @TableField("ADD_TIME")
    private LocalDateTime addTime;

    @TableField("ADD_USER")
    private String addUser;

    @TableField("EDIT_TIME")
    private LocalDateTime editTime;

    @TableField("EDIT_USER")
    private String editUser;

    @TableField("DELETE_REASON")
    private String deleteReason;


    @TableField(exist = false)
    private String strStatus;
    @TableField(exist = false)
    private String strCheckCode;
    @TableField(exist = false)
    private String strCheckValue;

    @Override
    protected Serializable pkVal() {
        return null;
    }

}
